<?
require_once(_APPLICATION."/service/member/execute/common.php");
/// @brief Define Core class 
/// @author ggugi
/// @date 2012-07-03
/// @params 
/// @return 
class member_execute_set_login_info_status extends member_execute_common
{
    /**
     * @brief 새로운 사용자를 추가한다.
     * @author hkkwon
     **/
	public function main()
	{
        parent::main();
        $aMemberParams = parent::getParam(array('Id', 'Password', 'IsFacebookId', 'DeviceToken'));
        $sUserIdx = parent::$model->set->insertMemberInfo($aMemberParams);
        parent::$model->set->insertDeviceInfo(array_merge($aMemberParams,array('User_idx' => $sUserIdx)));

        $oResult['Result'] = 1;
        $oResult['SeqNo'] =1;
        return $oResult;
	}
}
